﻿/*
 *  PassBag is multi-platform software that securely manage/store passwords
 *  Copyright (C) <2009>  <Hugo Rodrigues PEREIRA>
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *	
 *  You can find a copy of the GPLv3 at project <root directory>/gpl.txt
 *
 */

using System;

namespace PassBag.Logic {
    /// <summary>
    /// This class help to de/serialize settings to an xml file.
    /// </summary>
    [Serializable]
    public class PasswordCryptObject : PasswordObject  {
        private string _xmlid = string.Empty;
        private string _xmllastModified = string.Empty;

        /// <summary>
        /// Gets or sets the XML id.
        /// </summary>
        /// <remarks>
        /// Replace the Guid Id with a string Id.
        /// </remarks>
        /// <value>The XML id.</value>
        public string XmlId {
            get {
                return _xmlid;
            }
            set {
                _xmlid = value;
            }
        }

        /// <summary>
        /// Gets or sets the XML last modified.
        /// </summary>
        /// <remarks>
        /// Replace the Guid Id with a string Id.
        /// </remarks>
        /// <value>The XML last modified.</value>
        public string XmlLastModified {
            get {
                return _xmllastModified;
            }
            set {
                _xmllastModified = value;
            }
        }
    }
}
